/**
 * Title:		T01Triangle.java
 * Description: Test program for forward, turnleft
 * 
 * @version		1.0 May 2009
 * @author		Hidemitsu Izawa (hi2136@columbia.edu)
 */



import kfrog.Const;
import kfrog.Frog;
import kfrog.Pond;

public class T01Triangle {
	public static void main(String args[]){
		/** pond */
		Pond pond = new Pond(300,300); //"pondsize" command in KFrog
		pond.setPondColor(Const.WHITE);//"pondcolor" command in KFrog
		/** frog1 */
		Frog frog1 = new Frog(pond,1);//"new frog" command in KFrog
		frog1.frogcolor(Const.BLUE);//"frogcolor" command in KFrog
		frog1.speed(3);//"speed" command in KFrog
		frog1.startdraw();//"startdraw" command in KFrog
		frog1.forward(100);//forward command in KFrog
		frog1.turnleft(120);//"forward" command in KFrog
		frog1.forward(100);//"forward" command in KFrog
		frog1.turnright(240);//"turnright" command in KFrog
		frog1.forward(100);//"forward" command in KFrog
		frog1.stopdraw();
		Thread FROG1 = new Thread(frog1); // end of "new frog" command in KFrog
		FROG1.start(); // end of "new frog" command in KFrog
	}
}
